Package-level declarations
Types
Context provided after each complete iteration in the tool loop. An iteration completes when all tool calls from a single LLM response have been processed.
Context provided after LLM returns a response, before tool calls are processed.
Context provided after each tool execution in the tool loop.
Context provided before each LLM call in the tool loop.
Base class for all tool loop callback contexts. Provides common properties shared across all callback events.
Transformer that maintains a sliding window of messages to manage context size.
Marker interface for tool loop lifecycle callbacks.
Read-only observer for tool loop lifecycle events. Use for logging, metrics, debugging - does not modify state.
Inspector that logs tool loop lifecycle events.
Transforms message history or tool results during tool loop execution. Use for compression, summarization, windowing.
Transformer that truncates tool results exceeding a maximum length.